/*
 * GridCanvas.java
 *
 * Created on 16 de Abril de 2007, 20:01
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package editorlabirinto;

import java.awt.Canvas;
import java.awt.Graphics;

/**
 *
 * @author tschimuneck
 */
public class GridCanvas extends Canvas
{
    
    /** Creates a new instance of GridCanvas */
    public GridCanvas()
    {
        super();
    }
    
    public void paint(Graphics g)
    {
        for(int x=0;x<=640;x+=32)
        {
            g.drawLine(x,0,x,480);
        }
        for(int y=0;y<=480;y+=32)
        {
            g.drawLine(0,y,640,y);
        }
    }
}
